home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Gigarom 1
/
Gigarom Macintosh Archives (Quantum Leap)(CDRM1080320)(1993).iso
/
FILES
/
DEM
/
N-R
/
Photone Prepress 2.04.cpt
/
Photone Prepress™v.2.04D.rsrc
/
PSTx_8_InkTest
< prev
next >
Wrap
Text File
|
1993-03-18
|
5KB
|
328 lines
%© 1990 by CEP, Inc. All Rights Reserved.
%Print ink calibration test patches as separation
%Last modified 5/13/90
/ppSetFrequency
{
/ppHTFrequency exch def
} def
/ppSetAngle
{
/ppHTAngle exch def
} def
/ppSetSpotFunction
{
/ppHTSpotFunc exch def
} def
/ppSetPrinterCurve
{
/ppPrinterCurve exch def
} def
/ppTransFunc
{
255 mul cvi
ppPrinterCurve exch get
255 div
} bind def
/doRegisterMark
{
/ppVPos exch def
/ppHPos exch def
gsave
ppHPos ppVPos translate
0 0 moveto
.24 setlinewidth 0 0 6 0 360 arc stroke
-10 0 moveto
20 0 rlineto
0 -10 moveto
0 20 rlineto
stroke
grestore
} def
/ppDoSolid
{
/ppBlk exch def
gsave
ppBlk 72 mul 50 add 680 translate
0 setgray
newpath
0 0 moveto
0 60 lineto
60 60 lineto
60 0 lineto
closepath
fill
grestore
} def
/ppDoDivider
{
gsave
50 670 translate
.24 setlinewidth
0 setgray
newpath
0 0 moveto
496 0 lineto
closepath
stroke
grestore
} def
/ppDoSquare
{
/ppgr exch def
-1 add /wid exch def
gsave
ppgr setgray
newpath
0 0 moveto
0 wid lineto
wid wid lineto
wid 0 lineto
closepath
fill
grestore
} bind def
/labelSquare
{
1 exch sub 100 mul
/ppgr exch def
gsave
0 0 moveto
0 setgray
ppgr 0.5 add cvi ( ) cvs show
grestore
} bind def
/doMagentaBlock
%increment right
{
/ppIncr exch def
/startGray exch def
/blockCount exch def
/ppVPos exch def
/ppHPos exch def
/hIndex blockCount def
/vIndex blockCount def
gsave
{ppTransFunc} settransfer
ppHTFrequency ppHTAngle {ppHTSpotFunc} setscreen
ppHPos ppVPos translate
0 1 vIndex 1 sub
{ pop
/ppGVal startGray def
gsave
0 1 hIndex 1 sub
{ pop
24 ppGVal ppDoSquare
24 0 translate
/ppGVal ppGVal ppIncr add def
} for
grestore
0 24 neg translate
} for
grestore
/ppIndex blockCount def
gsave
/Courier-Bold findfont
9 scalefont setfont
ppHPos 3 add ppVPos 4 24 add add translate
0 1 ppIndex 1 sub
{ pop
startGray labelSquare
/startGray startGray ppIncr add def
24 0 translate
} for
grestore
} bind def
/doYellowBlock
%increment downward
{
/ppIncr exch def
/ppGVal exch def
/blockCount exch def
/ppVPos exch def
/ppHPos exch def
/startGray ppGVal def
/hIndex blockCount def
/vIndex blockCount def
gsave
{ppTransFunc} settransfer
ppHTFrequency ppHTAngle {ppHTSpotFunc} setscreen
ppHPos ppVPos translate
0 1 vIndex 1 sub
{ pop
gsave
0 1 hIndex 1 sub
{ pop
24 ppGVal ppDoSquare
24 0 translate
} for
grestore
/ppGVal ppGVal ppIncr add def
0 24 neg translate
} for
grestore
/ppIndex blockCount def
gsave
/Courier-Bold findfont
9 scalefont setfont
ppHPos 16 sub ppVPos 8 add translate
0 1 ppIndex 1 sub
{ pop
startGray labelSquare
0 24 neg translate
/startGray startGray ppIncr add def
} for
grestore
} bind def
/doCyanBlock
%all patches are same gray
{ pop %pop increment
/ppGVal exch def
/blockCount exch def
/ppVPos exch def
/ppHPos exch def
/hIndex blockCount def
/vIndex blockCount def
gsave
{ppTransFunc} settransfer
ppHTFrequency ppHTAngle {ppHTSpotFunc} setscreen
ppHPos ppVPos translate
0 1 vIndex 1 sub
{ pop
gsave
0 1 hIndex 1 sub
{ pop
24 ppGVal ppDoSquare
24 0 translate
} for
grestore
0 24 neg translate
} for
grestore
gsave
/Courier-Bold findfont
14 scalefont setfont
ppHPos ppVPos 20 add 24 add translate
1 ppGVal sub 100 mul
/ppgr exch def
gsave
0 0 moveto
0 setgray
ppgr 0.5 add cvi ( ) cvs show
(% Cyan) show
grestore
grestore
} bind def
/doLabel
{ /ppLabel exch def
gsave
/Courier-Bold findfont
12 scalefont setfont
50 50 translate
0 0 moveto
ppLabel show
grestore
} bind def
/ppDoCyan
{
200 600 4 .95 .01 doCyanBlock
325 600 6 .85 .01 doCyanBlock
105 420 8 .75 .01 doCyanBlock
325 420 8 .50 .02 doCyanBlock
70 190 6 .25 .03 doCyanBlock
240 190 6 .15 .03 doCyanBlock
410 190 6 .05 .03 doCyanBlock
0 ppDoSolid
1 ppDoSolid
5 ppDoSolid
6 ppDoSolid
ppDoDivider
70 300 doRegisterMark
70 580 doRegisterMark
550 300 doRegisterMark
550 580 doRegisterMark
(Cyan) doLabel
} def
/ppDoMagenta
{
200 600 4 .95 .01 doMagentaBlock
325 600 6 .85 .01 doMagentaBlock
105 420 8 .75 .01 doMagentaBlock
325 420 8 .50 .02 doMagentaBlock
70 190 6 .25 .03 doMagentaBlock
240 190 6 .15 .03 doMagentaBlock
410 190 6 .05 .03 doMagentaBlock
1 ppDoSolid
2 ppDoSolid
3 ppDoSolid
6 ppDoSolid
ppDoDivider
70 300 doRegisterMark
70 580 doRegisterMark
550 300 doRegisterMark
550 580 doRegisterMark
(Magenta) doLabel
} def
/ppDoYellow
{
200 600 4 .95 .01 doYellowBlock
325 600 6 .85 .01 doYellowBlock
105 420 8 .75 .01 doYellowBlock
325 420 8 .50 .02 doYellowBlock
70 190 6 .25 .03 doYellowBlock
240 190 6 .15 .03 doYellowBlock
410 190 6 .05 .03 doYellowBlock
3 ppDoSolid
4 ppDoSolid
5 ppDoSolid
6 ppDoSolid
ppDoDivider
70 300 doRegisterMark
70 580 doRegisterMark
550 300 doRegisterMark
550 580 doRegisterMark
(Yellow) doLabel
} def
/ppDoBlack
{
(Black) doLabel
} def